.class Lcom/netease/newsreader/activity/ShowComments$5;
.super Ljava/lang/Object;
.source "ShowComments.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/ShowComments;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ShowComments;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowComments;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    .line 2456
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ShowComments$5;)Lcom/netease/newsreader/activity/ShowComments;
    .locals 1
    .parameter

    .prologue
    .line 2456
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 10
    .parameter "v"

    .prologue
    .line 2461
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    move-object v0, p1

    .line 2473
    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/ShowComments;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v5, 0x7f0b0036

    invoke-virtual {v1, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2476
    :try_start_0
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Ljava/util/HashMap;

    .line 2478
    .local v9, map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "p"

    invoke-virtual {v9, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 2479
    .local v4, p:Ljava/lang/String;
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowComments;->access$66(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v2

    .line 2480
    .local v2, bid:Ljava/lang/String;
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowComments;->access$7(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v3

    .line 2481
    .local v3, pid:Ljava/lang/String;
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v6

    .line 2482
    .local v6, type:I
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "pos"

    invoke-virtual {v9, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v7

    .line 2484
    .local v7, pos:I
    new-instance v0, Lcom/netease/newsreader/activity/ShowComments$5$1;

    move-object v1, p0

    move-object v5, p1

    invoke-direct/range {v0 .. v7}, Lcom/netease/newsreader/activity/ShowComments$5$1;-><init>(Lcom/netease/newsreader/activity/ShowComments$5;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View;II)V

    .line 2498
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/ShowComments$5$1;->start()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 2507
    .end local v2           #bid:Ljava/lang/String;
    .end local v3           #pid:Ljava/lang/String;
    .end local v4           #p:Ljava/lang/String;
    .end local v6           #type:I
    .end local v7           #pos:I
    .end local v9           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local p1
    :cond_0
    :goto_0
    return-void

    .line 2499
    .restart local p1
    :catch_0
    move-exception v8

    .line 2501
    .local v8, e:Ljava/lang/Exception;
    invoke-virtual {v8}, Ljava/lang/Exception;->printStackTrace()V

    .line 2502
    check-cast p1, Landroid/widget/TextView;

    .end local p1
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {v0}, Lcom/netease/newsreader/activity/ShowComments;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0b0035

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2503
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$5;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/ShowComments;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v5, 0x7f0b0037

    invoke-virtual {v1, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v5, 0x0

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method
